package com.rc.saas.mini.model.elec;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ElecStationOutExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ElecStationOutExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andElecStationIdIsNull() {
            addCriterion("elec_station_id is null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNotNull() {
            addCriterion("elec_station_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdEqualTo(Long value) {
            addCriterion("elec_station_id =", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotEqualTo(Long value) {
            addCriterion("elec_station_id <>", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThan(Long value) {
            addCriterion("elec_station_id >", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_station_id >=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThan(Long value) {
            addCriterion("elec_station_id <", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_station_id <=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIn(List<Long> values) {
            addCriterion("elec_station_id in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotIn(List<Long> values) {
            addCriterion("elec_station_id not in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdBetween(Long value1, Long value2) {
            addCriterion("elec_station_id between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_station_id not between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andOutTypeIsNull() {
            addCriterion("out_type is null");
            return (Criteria) this;
        }

        public Criteria andOutTypeIsNotNull() {
            addCriterion("out_type is not null");
            return (Criteria) this;
        }

        public Criteria andOutTypeEqualTo(String value) {
            addCriterion("out_type =", value, "outType");
            return (Criteria) this;
        }

        public Criteria andOutTypeNotEqualTo(String value) {
            addCriterion("out_type <>", value, "outType");
            return (Criteria) this;
        }

        public Criteria andOutTypeGreaterThan(String value) {
            addCriterion("out_type >", value, "outType");
            return (Criteria) this;
        }

        public Criteria andOutTypeGreaterThanOrEqualTo(String value) {
            addCriterion("out_type >=", value, "outType");
            return (Criteria) this;
        }

        public Criteria andOutTypeLessThan(String value) {
            addCriterion("out_type <", value, "outType");
            return (Criteria) this;
        }

        public Criteria andOutTypeLessThanOrEqualTo(String value) {
            addCriterion("out_type <=", value, "outType");
            return (Criteria) this;
        }

        public Criteria andOutTypeLike(String value) {
            addCriterion("out_type like", value, "outType");
            return (Criteria) this;
        }

        public Criteria andOutTypeNotLike(String value) {
            addCriterion("out_type not like", value, "outType");
            return (Criteria) this;
        }

        public Criteria andOutTypeIn(List<String> values) {
            addCriterion("out_type in", values, "outType");
            return (Criteria) this;
        }

        public Criteria andOutTypeNotIn(List<String> values) {
            addCriterion("out_type not in", values, "outType");
            return (Criteria) this;
        }

        public Criteria andOutTypeBetween(String value1, String value2) {
            addCriterion("out_type between", value1, value2, "outType");
            return (Criteria) this;
        }

        public Criteria andOutTypeNotBetween(String value1, String value2) {
            addCriterion("out_type not between", value1, value2, "outType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeIsNull() {
            addCriterion("printer_type is null");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeIsNotNull() {
            addCriterion("printer_type is not null");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeEqualTo(String value) {
            addCriterion("printer_type =", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeNotEqualTo(String value) {
            addCriterion("printer_type <>", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeGreaterThan(String value) {
            addCriterion("printer_type >", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeGreaterThanOrEqualTo(String value) {
            addCriterion("printer_type >=", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeLessThan(String value) {
            addCriterion("printer_type <", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeLessThanOrEqualTo(String value) {
            addCriterion("printer_type <=", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeLike(String value) {
            addCriterion("printer_type like", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeNotLike(String value) {
            addCriterion("printer_type not like", value, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeIn(List<String> values) {
            addCriterion("printer_type in", values, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeNotIn(List<String> values) {
            addCriterion("printer_type not in", values, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeBetween(String value1, String value2) {
            addCriterion("printer_type between", value1, value2, "printerType");
            return (Criteria) this;
        }

        public Criteria andPrinterTypeNotBetween(String value1, String value2) {
            addCriterion("printer_type not between", value1, value2, "printerType");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingIsNull() {
            addCriterion("is_free_parking is null");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingIsNotNull() {
            addCriterion("is_free_parking is not null");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingEqualTo(String value) {
            addCriterion("is_free_parking =", value, "isFreeParking");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingNotEqualTo(String value) {
            addCriterion("is_free_parking <>", value, "isFreeParking");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingGreaterThan(String value) {
            addCriterion("is_free_parking >", value, "isFreeParking");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingGreaterThanOrEqualTo(String value) {
            addCriterion("is_free_parking >=", value, "isFreeParking");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingLessThan(String value) {
            addCriterion("is_free_parking <", value, "isFreeParking");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingLessThanOrEqualTo(String value) {
            addCriterion("is_free_parking <=", value, "isFreeParking");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingLike(String value) {
            addCriterion("is_free_parking like", value, "isFreeParking");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingNotLike(String value) {
            addCriterion("is_free_parking not like", value, "isFreeParking");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingIn(List<String> values) {
            addCriterion("is_free_parking in", values, "isFreeParking");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingNotIn(List<String> values) {
            addCriterion("is_free_parking not in", values, "isFreeParking");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingBetween(String value1, String value2) {
            addCriterion("is_free_parking between", value1, value2, "isFreeParking");
            return (Criteria) this;
        }

        public Criteria andIsFreeParkingNotBetween(String value1, String value2) {
            addCriterion("is_free_parking not between", value1, value2, "isFreeParking");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberIsNull() {
            addCriterion("is_need_number is null");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberIsNotNull() {
            addCriterion("is_need_number is not null");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberEqualTo(String value) {
            addCriterion("is_need_number =", value, "isNeedNumber");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberNotEqualTo(String value) {
            addCriterion("is_need_number <>", value, "isNeedNumber");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberGreaterThan(String value) {
            addCriterion("is_need_number >", value, "isNeedNumber");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberGreaterThanOrEqualTo(String value) {
            addCriterion("is_need_number >=", value, "isNeedNumber");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberLessThan(String value) {
            addCriterion("is_need_number <", value, "isNeedNumber");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberLessThanOrEqualTo(String value) {
            addCriterion("is_need_number <=", value, "isNeedNumber");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberLike(String value) {
            addCriterion("is_need_number like", value, "isNeedNumber");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberNotLike(String value) {
            addCriterion("is_need_number not like", value, "isNeedNumber");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberIn(List<String> values) {
            addCriterion("is_need_number in", values, "isNeedNumber");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberNotIn(List<String> values) {
            addCriterion("is_need_number not in", values, "isNeedNumber");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberBetween(String value1, String value2) {
            addCriterion("is_need_number between", value1, value2, "isNeedNumber");
            return (Criteria) this;
        }

        public Criteria andIsNeedNumberNotBetween(String value1, String value2) {
            addCriterion("is_need_number not between", value1, value2, "isNeedNumber");
            return (Criteria) this;
        }

        public Criteria andHintIsNull() {
            addCriterion("hint is null");
            return (Criteria) this;
        }

        public Criteria andHintIsNotNull() {
            addCriterion("hint is not null");
            return (Criteria) this;
        }

        public Criteria andHintEqualTo(String value) {
            addCriterion("hint =", value, "hint");
            return (Criteria) this;
        }

        public Criteria andHintNotEqualTo(String value) {
            addCriterion("hint <>", value, "hint");
            return (Criteria) this;
        }

        public Criteria andHintGreaterThan(String value) {
            addCriterion("hint >", value, "hint");
            return (Criteria) this;
        }

        public Criteria andHintGreaterThanOrEqualTo(String value) {
            addCriterion("hint >=", value, "hint");
            return (Criteria) this;
        }

        public Criteria andHintLessThan(String value) {
            addCriterion("hint <", value, "hint");
            return (Criteria) this;
        }

        public Criteria andHintLessThanOrEqualTo(String value) {
            addCriterion("hint <=", value, "hint");
            return (Criteria) this;
        }

        public Criteria andHintLike(String value) {
            addCriterion("hint like", value, "hint");
            return (Criteria) this;
        }

        public Criteria andHintNotLike(String value) {
            addCriterion("hint not like", value, "hint");
            return (Criteria) this;
        }

        public Criteria andHintIn(List<String> values) {
            addCriterion("hint in", values, "hint");
            return (Criteria) this;
        }

        public Criteria andHintNotIn(List<String> values) {
            addCriterion("hint not in", values, "hint");
            return (Criteria) this;
        }

        public Criteria andHintBetween(String value1, String value2) {
            addCriterion("hint between", value1, value2, "hint");
            return (Criteria) this;
        }

        public Criteria andHintNotBetween(String value1, String value2) {
            addCriterion("hint not between", value1, value2, "hint");
            return (Criteria) this;
        }

        public Criteria andOutImage1IsNull() {
            addCriterion("out_image1 is null");
            return (Criteria) this;
        }

        public Criteria andOutImage1IsNotNull() {
            addCriterion("out_image1 is not null");
            return (Criteria) this;
        }

        public Criteria andOutImage1EqualTo(String value) {
            addCriterion("out_image1 =", value, "outImage1");
            return (Criteria) this;
        }

        public Criteria andOutImage1NotEqualTo(String value) {
            addCriterion("out_image1 <>", value, "outImage1");
            return (Criteria) this;
        }

        public Criteria andOutImage1GreaterThan(String value) {
            addCriterion("out_image1 >", value, "outImage1");
            return (Criteria) this;
        }

        public Criteria andOutImage1GreaterThanOrEqualTo(String value) {
            addCriterion("out_image1 >=", value, "outImage1");
            return (Criteria) this;
        }

        public Criteria andOutImage1LessThan(String value) {
            addCriterion("out_image1 <", value, "outImage1");
            return (Criteria) this;
        }

        public Criteria andOutImage1LessThanOrEqualTo(String value) {
            addCriterion("out_image1 <=", value, "outImage1");
            return (Criteria) this;
        }

        public Criteria andOutImage1Like(String value) {
            addCriterion("out_image1 like", value, "outImage1");
            return (Criteria) this;
        }

        public Criteria andOutImage1NotLike(String value) {
            addCriterion("out_image1 not like", value, "outImage1");
            return (Criteria) this;
        }

        public Criteria andOutImage1In(List<String> values) {
            addCriterion("out_image1 in", values, "outImage1");
            return (Criteria) this;
        }

        public Criteria andOutImage1NotIn(List<String> values) {
            addCriterion("out_image1 not in", values, "outImage1");
            return (Criteria) this;
        }

        public Criteria andOutImage1Between(String value1, String value2) {
            addCriterion("out_image1 between", value1, value2, "outImage1");
            return (Criteria) this;
        }

        public Criteria andOutImage1NotBetween(String value1, String value2) {
            addCriterion("out_image1 not between", value1, value2, "outImage1");
            return (Criteria) this;
        }

        public Criteria andOutImage2IsNull() {
            addCriterion("out_image2 is null");
            return (Criteria) this;
        }

        public Criteria andOutImage2IsNotNull() {
            addCriterion("out_image2 is not null");
            return (Criteria) this;
        }

        public Criteria andOutImage2EqualTo(String value) {
            addCriterion("out_image2 =", value, "outImage2");
            return (Criteria) this;
        }

        public Criteria andOutImage2NotEqualTo(String value) {
            addCriterion("out_image2 <>", value, "outImage2");
            return (Criteria) this;
        }

        public Criteria andOutImage2GreaterThan(String value) {
            addCriterion("out_image2 >", value, "outImage2");
            return (Criteria) this;
        }

        public Criteria andOutImage2GreaterThanOrEqualTo(String value) {
            addCriterion("out_image2 >=", value, "outImage2");
            return (Criteria) this;
        }

        public Criteria andOutImage2LessThan(String value) {
            addCriterion("out_image2 <", value, "outImage2");
            return (Criteria) this;
        }

        public Criteria andOutImage2LessThanOrEqualTo(String value) {
            addCriterion("out_image2 <=", value, "outImage2");
            return (Criteria) this;
        }

        public Criteria andOutImage2Like(String value) {
            addCriterion("out_image2 like", value, "outImage2");
            return (Criteria) this;
        }

        public Criteria andOutImage2NotLike(String value) {
            addCriterion("out_image2 not like", value, "outImage2");
            return (Criteria) this;
        }

        public Criteria andOutImage2In(List<String> values) {
            addCriterion("out_image2 in", values, "outImage2");
            return (Criteria) this;
        }

        public Criteria andOutImage2NotIn(List<String> values) {
            addCriterion("out_image2 not in", values, "outImage2");
            return (Criteria) this;
        }

        public Criteria andOutImage2Between(String value1, String value2) {
            addCriterion("out_image2 between", value1, value2, "outImage2");
            return (Criteria) this;
        }

        public Criteria andOutImage2NotBetween(String value1, String value2) {
            addCriterion("out_image2 not between", value1, value2, "outImage2");
            return (Criteria) this;
        }

        public Criteria andOutImage3IsNull() {
            addCriterion("out_image3 is null");
            return (Criteria) this;
        }

        public Criteria andOutImage3IsNotNull() {
            addCriterion("out_image3 is not null");
            return (Criteria) this;
        }

        public Criteria andOutImage3EqualTo(String value) {
            addCriterion("out_image3 =", value, "outImage3");
            return (Criteria) this;
        }

        public Criteria andOutImage3NotEqualTo(String value) {
            addCriterion("out_image3 <>", value, "outImage3");
            return (Criteria) this;
        }

        public Criteria andOutImage3GreaterThan(String value) {
            addCriterion("out_image3 >", value, "outImage3");
            return (Criteria) this;
        }

        public Criteria andOutImage3GreaterThanOrEqualTo(String value) {
            addCriterion("out_image3 >=", value, "outImage3");
            return (Criteria) this;
        }

        public Criteria andOutImage3LessThan(String value) {
            addCriterion("out_image3 <", value, "outImage3");
            return (Criteria) this;
        }

        public Criteria andOutImage3LessThanOrEqualTo(String value) {
            addCriterion("out_image3 <=", value, "outImage3");
            return (Criteria) this;
        }

        public Criteria andOutImage3Like(String value) {
            addCriterion("out_image3 like", value, "outImage3");
            return (Criteria) this;
        }

        public Criteria andOutImage3NotLike(String value) {
            addCriterion("out_image3 not like", value, "outImage3");
            return (Criteria) this;
        }

        public Criteria andOutImage3In(List<String> values) {
            addCriterion("out_image3 in", values, "outImage3");
            return (Criteria) this;
        }

        public Criteria andOutImage3NotIn(List<String> values) {
            addCriterion("out_image3 not in", values, "outImage3");
            return (Criteria) this;
        }

        public Criteria andOutImage3Between(String value1, String value2) {
            addCriterion("out_image3 between", value1, value2, "outImage3");
            return (Criteria) this;
        }

        public Criteria andOutImage3NotBetween(String value1, String value2) {
            addCriterion("out_image3 not between", value1, value2, "outImage3");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}